﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000DAD RID: 3501
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class QuitTrackPhotoStageScRsp : IMessage<QuitTrackPhotoStageScRsp>, IMessage, IEquatable<QuitTrackPhotoStageScRsp>, IDeepCloneable<QuitTrackPhotoStageScRsp>, IBufferMessage
	{
		// Token: 0x17002C7C RID: 11388
		// (get) Token: 0x06009D2E RID: 40238 RVA: 0x001A4AD8 File Offset: 0x001A2CD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<QuitTrackPhotoStageScRsp> Parser
		{
			get
			{
				return QuitTrackPhotoStageScRsp._parser;
			}
		}

		// Token: 0x17002C7D RID: 11389
		// (get) Token: 0x06009D2F RID: 40239 RVA: 0x001A4ADF File Offset: 0x001A2CDF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return QuitTrackPhotoStageScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002C7E RID: 11390
		// (get) Token: 0x06009D30 RID: 40240 RVA: 0x001A4AF1 File Offset: 0x001A2CF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return QuitTrackPhotoStageScRsp.Descriptor;
			}
		}

		// Token: 0x06009D31 RID: 40241 RVA: 0x001A4AF8 File Offset: 0x001A2CF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuitTrackPhotoStageScRsp()
		{
		}

		// Token: 0x06009D32 RID: 40242 RVA: 0x001A4B00 File Offset: 0x001A2D00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuitTrackPhotoStageScRsp(QuitTrackPhotoStageScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009D33 RID: 40243 RVA: 0x001A4B25 File Offset: 0x001A2D25
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuitTrackPhotoStageScRsp Clone()
		{
			return new QuitTrackPhotoStageScRsp(this);
		}

		// Token: 0x17002C7F RID: 11391
		// (get) Token: 0x06009D34 RID: 40244 RVA: 0x001A4B2D File Offset: 0x001A2D2D
		// (set) Token: 0x06009D35 RID: 40245 RVA: 0x001A4B35 File Offset: 0x001A2D35
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06009D36 RID: 40246 RVA: 0x001A4B3E File Offset: 0x001A2D3E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as QuitTrackPhotoStageScRsp);
		}

		// Token: 0x06009D37 RID: 40247 RVA: 0x001A4B4C File Offset: 0x001A2D4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(QuitTrackPhotoStageScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009D38 RID: 40248 RVA: 0x001A4B7C File Offset: 0x001A2D7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009D39 RID: 40249 RVA: 0x001A4BBB File Offset: 0x001A2DBB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009D3A RID: 40250 RVA: 0x001A4BC3 File Offset: 0x001A2DC3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009D3B RID: 40251 RVA: 0x001A4BCC File Offset: 0x001A2DCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009D3C RID: 40252 RVA: 0x001A4C00 File Offset: 0x001A2E00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009D3D RID: 40253 RVA: 0x001A4C3E File Offset: 0x001A2E3E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(QuitTrackPhotoStageScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009D3E RID: 40254 RVA: 0x001A4C6F File Offset: 0x001A2E6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009D3F RID: 40255 RVA: 0x001A4C78 File Offset: 0x001A2E78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003CB1 RID: 15537
		private static readonly MessageParser<QuitTrackPhotoStageScRsp> _parser = new MessageParser<QuitTrackPhotoStageScRsp>(() => new QuitTrackPhotoStageScRsp());

		// Token: 0x04003CB2 RID: 15538
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003CB3 RID: 15539
		public const int RetcodeFieldNumber = 8;

		// Token: 0x04003CB4 RID: 15540
		private uint retcode_;
	}
}
